export default {
  namespaced: true,
  state: {
    // 剧集ID 
    episodeInfo: {} || uni.getStorageSync('episodeInfo'), 
  },
  getters: {},
  mutations: {  
    setEpisodeInfo(state, episodeInfo) { 
      state.episodeInfo = episodeInfo
      uni.setStorageSync('episodeInfo', episodeInfo)
    },
    delEpisodeInfo(state) {
      state.episodeInfo = {}
      uni.removeStorageSync('episodeInfo') 
    },
  },
  actions: {},
}
